﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ComeSeeThis_MVC2.Models.Tire>" %>

<%@ Import Namespace="ComeSeeThis_MVC2.Models" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Details
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% Html.RenderPartial("SubMenu"); %>
    <h2>
        Details</h2>
    <fieldset>
        <legend>
            <%: Model.Company.CompanyName %>
            <%: Model.TireName %></legend>
        <% Html.RenderPartial("DetailTable"); %>
        <% //Html.RenderPartial("VehicleTypeList", new VehicleTypeTireFormView(Model.TireId));%>
            <% if (User.IsInRole("SiteAdmin"))
           {%>
        <%:Html.ActionLink("Edit", "Edit", new {id = Model.TireId})%>
        <%
           }%>
</fieldset>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="BodyTagContent" runat="server">
</asp:Content>
